package br.edu.univas.locadoragraph.to;

import java.util.ArrayList;

public class MovieTO {
	
	private String title;
	private int year;
	private String sinopse;
	private String gender;
	private ArrayList<String> actors;
	private String director;
	
	public String getSinopse() {
		return sinopse;
	}
	public void setSinopse(String sinopse) {
		this.sinopse = sinopse;
	}
	public ArrayList<String> getActors() {
		return actors;
	}
	public void setActors(ArrayList<String> actors) {
		this.actors = actors;
	}
	public String getDirector() {
		return director;
	}
	public void setDirector(String director) {
		this.director = director;
	}

	private int note;
	
	public MovieTO(){
		 
	 }
	 public MovieTO(String title, int year, String gender, ArrayList<String> actor, String director) {
	        this.title = title;
	        this.year = year;
	        this.gender = gender;
	        this.actors = actor;
	        this.director = director;
	    }
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	
	public int getNote() {
		return note;
	}
	public void setNote(int note) {
		this.note = note;
	}
	@Override
	public String toString() {
		return "MovieTO {title=" + title + ", year=" + year + ", sinopse="
				+ sinopse + ", gender=" + gender + ", actors=" + actors
				+ ", director=" + director + "}";
	}
	
	 

}
